package com.wandian.view.ui
{
	import com.wandian.view.layer.BaseLayer;
	import com.wandian.view.stage.StageLoading;

	import flash.display.MovieClip;

	/**
	 * 登陆界面
	 * @author long
	 */
	public class UILogin extends BaseLayer
	{
		public const NAME:String="loginUI";

		/**
		 * 资源加载界面
		 */
		private var stageLoading:StageLoading;

		public function UILogin()
		{
			super();
			init();
		}

		private function init():void
		{
			//删除小loadingUI 
//			var smallMC:MovieClip=Texas.I.smallLoading;
//			if (smallMC)
//			{
//				smallMC.visible=false;
//			}

			//开始加载资源
			stageLoading=new StageLoading();
			stageLoading.hide();
			Texas.I.setStage(stageLoading);

		}
	}
}
